package com.gan.yidademo.stuavatar.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author gbw
 * @date 2023/10/08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "yida_stu_avatar")
public class StuAvatar implements Serializable {

    private static final long serialVersionUID = 7643460776433343079L;
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 学生名
     */
    @TableField("student_name")
    private String stuName;

    /**
     * 班级
     */
    @TableField("class_name")
    private String className;

    /**
     * 班主任
     */
    @TableField("head_teacher")
    private String headTeacher;

    /**
     * 学生头像
     */
    @TableField("stu_avatar")
    private String stuAvatar;

    /**
     * 家长姓名
     */
    @TableField("patriarch_name")
    private String patriarchName;

    /**
     * 家长id,可能出现0开头的id所以要为String类型
     */
    @TableField("patriarch_id")
    private String patriarchId;


}
